package softserve.vgolosh.tmn;

import java.util.ArrayList;
import java.util.List;

public class TMNSearchResults {
	private List<TMNSearchResult> searchResults = new ArrayList<TMNSearchResult>();

	public List<TMNSearchResult> getSearchResults() {
		return searchResults;
	}

	public void setSearchResults(List<TMNSearchResult> searchResults) {
		this.searchResults = searchResults;
	}

	public TMNSearchResults(List<TMNSearchResult> searchResults) {
		super();
		this.searchResults = searchResults;
	}

	public TMNSearchResults() {
	}

	@Override
	public String toString() {
		return "TMNSearchResults\n" + searchResults + "]";
	}

	public void add(List<TMNSearchResult> list) {
		searchResults.addAll(list);
	}

	public void add(TMNSearchResult searchResult) {
		searchResults.add(searchResult);
	}

}
